package io.hxci.modules.edu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 课程信息表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "edu_course")
public class EduCourse {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程编号
     */
    @TableField(value = "course_sno")
    private String courseSno;

    /**
     * 课程名称
     */
    @TableField(value = "course_name")
    private String courseName;

    /**
     * 课程性质
     */
    @TableField(value = "course_nature")
    private Long courseNature;

    /**
     * 学分数
     */
    @TableField(value = "course_score")
    private String courseScore;

    /**
     * 学时数
     */
    @TableField(value = "course_time")
    private String courseTime;

    /**
     * 授课周数
     */
    @TableField(value = "course_week")
    private String courseWeek;

    /**
     * 学时分配(理论)
     */
    @TableField(value = "course_time_theory")
    private String courseTimeTheory;

    /**
     * 学时分配(实践)
     */
    @TableField(value = "course_time_practice")
    private String courseTimePractice;

    /**
     * 开设学期
     */
    @TableField(value = "semester")
    private String semester;

    /**
     * 开设专业
     */
    @TableField(value = "specialty")
    private Long specialty;

    /**
     * 课程类型a
     */
    @TableField(value = "atype")
    private Integer atype;

    /**
     * 课程类型b
     */
    @TableField(value = "btype")
    private Integer btype;


    @TableField(exist=false)
    private String bname;

    @TableField(exist=false)
    private String week;

    @TableField(exist=false)
    private String section;

    @TableField(exist=false)
    private String room;
    @TableField(exist=false)
    private String ids;
    @TableField(exist=false)
    private Integer renshu;
}